﻿



using System; 
using System.Collections;
using System.Collections.Generic ;
using System.Runtime.Serialization;

namespace UFIDA.U9.Cust.SH.SHFastShipSV
{
	/// <summary>
	/// 快速出货单行 DTO :自定义的数据传输类型 
	/// 
	/// </summary>
	[DataContract(Name = "UFIDA.U9.Cust.SH.SHFastShipSV.FastShipLineDTOData", Namespace = "http://www.UFIDA.org/EntityData",IsReference=true)]
	[Serializable]
	[KnownType("GetKnownTypes")]
	public partial class FastShipLineDTOData : UFSoft.UBF.Business.DataTransObjectBase
	{
		public static IList<Type> GetKnownTypes()
        {
            IList<Type> knownTypes = new List<Type>();
            
            knownTypes.Add(typeof(UFIDA.U9.Cust.SH.SHFastShipSV.FastShipDTOData));                          
            knownTypes.Add(typeof(UFIDA.U9.CBO.SCM.Item.ItemMasterData));                          
            knownTypes.Add(typeof(UFIDA.U9.Base.UOM.UOMData));             
            knownTypes.Add(typeof(UFIDA.U9.CBO.SCM.Warehouse.WarehouseData));                                                                  
            knownTypes.Add(typeof(UFSoft.UBF.Util.Data.MultiLangDataDict));
            return knownTypes;
        }
		/// <summary>
		/// Default Constructor
		/// </summary>
		public FastShipLineDTOData()
		{
			initData();
		}
		private void initData()
		{
		
					DocLineNo= 0; 
				
					Qty=0m; 
		
		
		
					OrderQty=0m; 
					SalePrice=0m; 
		
		

			//调用默认值初始化服务进行配置方式初始化
			UFSoft.UBF.Service.DTOService.InitConfigDefault(this);
		}
		[System.Runtime.Serialization.OnDeserializing]
        internal void OnDeserializing(System.Runtime.Serialization.StreamingContext context)
        {
			 initData();
        }
		#region Do SerializeKey -ForDTODataType
		//只为处理集合型EntityKey。原因集合型EntityKey由于使用臫的集合对象，无法实现数据共享.-UBF专用.
		public void DoSerializeKeyList(IDictionary dict)
		{
			if (dict == null ) dict = new Hashtable() ;
			if (dict[this] != null)
				return ;
			dict[this] = this;
	        			if (this.FastShipDTO != null) 
			{
				this.FastShipDTO.DoSerializeKeyList(dict);
			}
	        	        	        	        	        	        	        	        	        	        
		}
		#endregion 
		/// <summary>
		/// Constructor Full Argument
		/// </summary>
		public FastShipLineDTOData(  UFIDA.U9.Cust.SH.SHFastShipSV.FastShipDTOData fastShipDTO  , System.Int32 docLineNo  , UFIDA.U9.CBO.SCM.Item.ItemMasterData item  , System.Decimal qty  , UFIDA.U9.Base.UOM.UOMData uOM  , UFIDA.U9.CBO.SCM.Warehouse.WarehouseData wH  , System.String memo  , System.Decimal orderQty  , System.Decimal salePrice  , System.String mDItemCode  , System.String mDLineID  )
		{
			initData();
			this.FastShipDTO = fastShipDTO;
			this.DocLineNo = docLineNo;
			this.Item = item;
			this.Qty = qty;
			this.UOM = uOM;
			this.WH = wH;
			this.Memo = memo;
			this.OrderQty = orderQty;
			this.SalePrice = salePrice;
			this.MDItemCode = mDItemCode;
			this.MDLineID = mDLineID;
		}
		#region System Fields 
		//--系统字段,目前没有.EntityData上有相应的字段,用于保存相关的实体状态信息,DTO上没有状态信息.	
		#endregion
		
		#region DTO Properties 
	
		

		/// <summary>
		/// 快速出货单头
		/// 快速出货单行.Misc.快速出货单头
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.Cust.SH.SHFastShipSV.FastShipDTOData m_fastShipDTO ;
		public UFIDA.U9.Cust.SH.SHFastShipSV.FastShipDTOData FastShipDTO
		{
			get	
			{	
				return m_fastShipDTO ;
			}
			set	
			{	
				m_fastShipDTO = value ;	
			}
		}
			
		

		/// <summary>
		/// 行号
		/// 快速出货单行.Misc.行号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Int32 m_docLineNo ;
		public System.Int32 DocLineNo
		{
			get	
			{	
				return m_docLineNo ;
			}
			set	
			{	
				m_docLineNo = value ;	
			}
		}
			
		

		/// <summary>
		/// 料品
		/// 快速出货单行.Misc.料品
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.CBO.SCM.Item.ItemMasterData m_item ;
		public UFIDA.U9.CBO.SCM.Item.ItemMasterData Item
		{
			get	
			{	
				return m_item ;
			}
			set	
			{	
				m_item = value ;	
			}
		}
			
		

		/// <summary>
		/// 数量
		/// 快速出货单行.Misc.数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_qty ;
		public System.Decimal Qty
		{
			get	
			{	
				return m_qty ;
			}
			set	
			{	
				m_qty = value ;	
			}
		}
			
		

		/// <summary>
		/// 单位
		/// 快速出货单行.Misc.单位
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.Base.UOM.UOMData m_uOM ;
		public UFIDA.U9.Base.UOM.UOMData UOM
		{
			get	
			{	
				return m_uOM ;
			}
			set	
			{	
				m_uOM = value ;	
			}
		}
			
		

		/// <summary>
		/// 仓库
		/// 快速出货单行.Misc.仓库
		/// </summary>
		[DataMember(IsRequired=false)]
		private UFIDA.U9.CBO.SCM.Warehouse.WarehouseData m_wH ;
		public UFIDA.U9.CBO.SCM.Warehouse.WarehouseData WH
		{
			get	
			{	
				return m_wH ;
			}
			set	
			{	
				m_wH = value ;	
			}
		}
			
		

		/// <summary>
		/// 备注
		/// 快速出货单行.Misc.备注
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_memo ;
		public System.String Memo
		{
			get	
			{	
				return m_memo ;
			}
			set	
			{	
				m_memo = value ;	
			}
		}
			
		

		/// <summary>
		/// 订货数量
		/// 快速出货单行.Misc.订货数量
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_orderQty ;
		public System.Decimal OrderQty
		{
			get	
			{	
				return m_orderQty ;
			}
			set	
			{	
				m_orderQty = value ;	
			}
		}
			
		

		/// <summary>
		/// 销售价
		/// 快速出货单行.Misc.销售价
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.Decimal m_salePrice ;
		public System.Decimal SalePrice
		{
			get	
			{	
				return m_salePrice ;
			}
			set	
			{	
				m_salePrice = value ;	
			}
		}
			
		

		/// <summary>
		/// 组合料号
		/// 快速出货单行.Misc.组合料号
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDItemCode ;
		public System.String MDItemCode
		{
			get	
			{	
				return m_mDItemCode ;
			}
			set	
			{	
				m_mDItemCode = value ;	
			}
		}
			
		

		/// <summary>
		/// 门店订单明细ID
		/// 快速出货单行.Misc.门店订单明细ID
		/// </summary>
		[DataMember(IsRequired=false)]
		private System.String m_mDLineID ;
		public System.String MDLineID
		{
			get	
			{	
				return m_mDLineID ;
			}
			set	
			{	
				m_mDLineID = value ;	
			}
		}
			
		#endregion	

		#region Multi_Fields
																						
		#endregion 
	} 	
}

	
